package com.hp.gxw.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangping
 * @since 2024-02-29
 */
public interface IReportService {

    List<Map<String, Object>> getCols(String month, String type);

    Page<Map<String, Object>> getCompletedOrProductionData(String month, String type, Page<Object> page, QueryWrapper<Object> ew);

    List<Map<String, Object>> getCompletedOrProductionDataList(String month, String type, QueryWrapper<Object> ew);

    int checkTableExist(String replace, String type);

    Page<JSONObject> getSaleSettlePage(Page<Object> objectPage, QueryWrapper<Object> ew);

    List<Map<String, Object>> getSaleSettleList(QueryWrapper<Object> ew);
}
